package com.linln.admin.workOrder.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author 小懒虫
 * @date 2021/04/04
 */
@Data
public class OrderGoodValid implements Serializable {
    @NotEmpty(message = "商品编码不能为空")
    private String good_code;
    @NotNull(message = "订单商品数量不能为空")
    private Integer good_num;
}